#ifndef IndexBuffer_h__
#define IndexBuffer_h__

#include "HardwareResource.h"

class CIndexBuffer : public CHardwareResource
{
public:
	CIndexBuffer(UINT32 dwID, ResourceHandle hHandle, EResourceType eResType, UINT32 dwIndexCount);
	virtual ~CIndexBuffer();
	virtual void Release();

	ID3D10Buffer* GetHandle(); 

	void* Lock();
	void  UnLock();
public:
	UINT32  m_dwIndexCount;
};
#endif // IndexBuffer_h__
